﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using ChinaDynastyTours.Views;
using System.Drawing;

namespace ChinaDynastyTours
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            DevExpress.UserSkins.BonusSkins.Register();
            DevExpress.UserSkins.OfficeSkins.Register();
            DevExpress.Skins.SkinManager.EnableFormSkins();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //try
            //{
            //DevExpress.Utils.AppearanceObject.DefaultFont = new Font("宋体", 10f);
            Application.Run(new MainForm());
            //}
            //catch (Exception e)
            //{
            //    MessageBox.Show("系统发现错误,请联系相关人员处理", "错误信息", MessageBoxButtons.OK, MessageBoxIcon.Information);
            //}
        }
    }
}
